package cn.supermarket.pojo.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class ProductSelectVO implements Serializable {
    //id
    private Long id;

    //商品名称
    private String title;

    //商品编号
    @NotNull(message = "商品编号不能为空")
    private Integer productId;

    //规格
    private String norm;

    //颜色
    private String color;

    //单位
    private String unit;
}
